<template>
  <!-- 悦积分前后端页面 -->
  <div class="box">
    <div id="main">
      <div v-html="list.content"></div>
    </div>
  </div>
</template>

<script type="text/javascript">
export default {
  data() {
    return {
      list: []
    };
  },
  created() {
    this.getHelpInfo();
  },
  methods: {
    async getHelpInfo() {
      const id = this.$route.query.id;
      const res = await this.$http.get(`yuepoints/helpInfo?id=${id}`);
      this.list = res.data.data;
    }
  }
};
</script>

<style lang="less" scoped>
.box {
  margin: 20px;
  font-size: 15px;
  text-align: left;
  padding-bottom: 55px;
  /deep/ img {
    background-size: contain;
    width: 90%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}
</style>
